package com.omega.vo;

import java.util.ArrayList;
import java.util.List;

import com.omega.entity.Brand;
import com.omega.entity.Item;
import com.omega.entity.ItemDistributed;
import com.omega.entity.MeasuringUnit;
import com.omega.entity.Retailer;

public class EntityListVO {
	
	public static BrandListVO getBrandListVO() {
		List<Brand> brandList = new  ArrayList<Brand>();
		for (int i = 0; i < 5; i++) {
			brandList.add(new Brand());
		} 
		BrandListVO brandListVO = new BrandListVO();
		brandListVO.setBrandList(brandList);
		return brandListVO;	
	}
	
	public static ItemListVO getItemsListVO() {
		List<Item> itemList = new ArrayList<Item>();
		for (int i = 0; i < 5; i++) {
			itemList.add(new Item());
		} 
		ItemListVO itemListVO = new ItemListVO();
		itemListVO.setItemList(itemList);	
		return itemListVO;	
	}
	
	public static MeasuringUnitListVO getMeasuringUnitListVO() {
		List<MeasuringUnit> measuringUnitList = new ArrayList<MeasuringUnit>();
		for (int i = 0; i < 5; i++) {
			measuringUnitList.add(new MeasuringUnit());
		} 
		MeasuringUnitListVO measuringUnitListVO = new MeasuringUnitListVO();
		measuringUnitListVO.setMeasuringUnitList(measuringUnitList);
		return measuringUnitListVO;	
	}
	
	public static RetailersListVO getRetailersListVO() {
		List<Retailer> retailerList = new ArrayList<Retailer>();
		for (int i = 0; i < 5; i++) {
			retailerList.add(new Retailer());
		} 
		RetailersListVO retailersListVO = new RetailersListVO();
		retailersListVO.setRetailersList(retailerList);
		return retailersListVO;	
	}
	
	public static ItemDistributedListVO getItemDistributedListVO() {
		List<ItemDistributed> itemDistributedList = new ArrayList<ItemDistributed>();
		for (int i = 0; i < 5; i++) {
			itemDistributedList.add(new ItemDistributed());
		} 
		ItemDistributedListVO itemDistributedListVO = new ItemDistributedListVO();
		itemDistributedListVO.setItemDistributedList(itemDistributedList);
		return itemDistributedListVO;	
	}
}
